package models

import (
	"kop/libs/database"
	"kop/modules/guild/entity"
)

func CreateRecord(serverID, guildID int32, Type int8, name, name2 string, value ...int32)  {

	_ = database.DB.Create(&entity.GuildRecord{
		ServerID:  serverID,
		GuildID:   guildID,
		Type:      Type,
		Name:      name,
		Name2:     name2,
		Values:    value,
	})
}
